package com.topc.problem.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.topc.core.po.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 题目信息表
 * </p>
 *
 * @author itcast
 */
@Data
@TableName("problem_info")
public class ProblemInfo extends BaseEntity {

    /**
     * 标题
     */
    private String title;

    /**
     * 介绍
     */
    private String introduction;

    /**
     * 内存限制
     */
    private BigDecimal memoryLimit;

    /**
     * 响应时间限制
     */
    private BigDecimal timeLimit;

    /**
     * 输入样例
     */
    private String inputSample;

    /**
     * 输出样例
     */
    private String outputSample;


    private String problemExplain;

    private Integer isPublic;


    private int difficulty;

    @Override
    public String toString() {
        return "ProblemInfo{" +
                "title='" + title + '\'' +
                ", introduction='" + introduction + '\'' +
                ", memoryLimit=" + memoryLimit +
                ", timeLimit=" + timeLimit +
                ", inputSample='" + inputSample + '\'' +
                ", outputSample='" + outputSample + '\'' +
                ", problemExplain='" + problemExplain + '\'' +
                ", difficulty=" + difficulty +
                ", id=" + id +
                ", status=" + status +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }
}
